package com.example.teamtribe.main.club.clubintroduce.media;

import com.example.teamtribe.base.BaseView;
import com.example.teamtribe.database.Media;

import java.util.List;

/**
 * Created by lenovo on 2018/6/3.
 */

public class MediaContract {
    interface View extends BaseView {
        void addMedia(Media media);
        void setMedias(List<Media> medias);
        void setCover();
        void clearMedias();
        void finishRefresh();
        void next();
    }

    interface Presenter {
        void getMedia(int mediaId,int type);
        void getMedias(int teamId,int type);//type用于清空本地数据库，获取本地数据
        void refreshMedias(int teamId,int type);//type用于清空本地数据库
    }
}
